package com.huang.transport;

import com.huang.serializer.CommonSerializer;

/*
服务端的通用接口+
 */
public interface RpcServer {
    int DEFAULT_SERIALIZER = CommonSerializer.KRYO_SERIALIZER;

    void start();

    <T> void publishService(T service, String serviceClass);
}
